<%-- 
    Document   : main
    Created on : 27.02.2013, 20:39:49
    Author     : Jarik
--%>

<%@page import="com.bionic.CES.beans.User"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h3>User info</h3>
<!--            <c:out value="${user.name}, Hello!"/>    -->
            You have registered the following address:
            <table> <td> <input type="text" name="name" value="<%= ((User)session.getAttribute("user")).getName() %>"> </td>
              </table>
                 <form name="logoutForm" method="POST" action="Controller">
            <input type="hidden" name="command" value ="logout"/>
            <input type ="submit" value="Logout"/>
            </form>
            
            <form name="goToUpdateForm" method="POST" action="Controller">
            <input type="hidden" name="command" value ="goToUpdate"/>
            <input type ="submit" value="Update"/>
            </form>
            <hr/>
            <h3>Bank account info</h3>
            <form name="goToBankAccInfo" method="POST" action="Controller">
            <input type="hidden" name="command" value ="goToBankAccInfo"/>
            <input type ="submit" value="Check bank account info"/>
            </form>
            
            <hr/>
            <h3>System account info</h3>
            <form name="goToSystemAccInfo" method="POST" action="Controller">
            <input type="hidden" name="command" value ="goToSystemAccInfo"/>
            <input type ="submit" value="Check system account info"/>
            </form>
    </body>
</html>
